﻿using BW.MesProject.Public.ErrorCode;
using BW.MesProject.WareHouse.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Infrastructure
{
    /// <summary>
    /// 基础信息
    /// </summary>
    public interface IBaseServices
    {
       
        /// <summary>
        /// 查询编码
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ApiResult<TypeCodeModel> GetCode(string Type);

        /// <summary>
        /// 修改编码
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ApiResult<int> UpdateCode(TypeCodeModel model);
    }
}
